package com.ruoyi.iot;

import com.ruoyi.iot.client.NioClient;
import lombok.Getter;
import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Getter
@Component
public class IotContext {

    private final Map<String, NioClient> nioClientMap;

    public IotContext() {
        nioClientMap = new ConcurrentHashMap<>();
    }
}
